package com.example.demo.entity;

import java.util.Date;
import java.util.List;

public class Goods {
    private Integer id;
    private String title;
    private Integer category_id;
    private String cover;
    private String description;
    private String unit;
    private Integer stock;
    private Integer min_stock;
    private Integer status;
    private Integer stock_display;
    private Integer min_price;
    private Integer min_oprice;
    private Date create_time;
    private Date update_time;
    private String content;
    private List<Banner> banners;
    private List<GoodsSkus> skus;
    private List<GoodsSkusCombinations> combinations;

    // Getters and Setters
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public Integer getCategory_id() { return category_id; }
    public void setCategory_id(Integer category_id) { this.category_id = category_id; }
    public String getCover() { return cover; }
    public void setCover(String cover) { this.cover = cover; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }
    public String getUnit() { return unit; }
    public void setUnit(String unit) { this.unit = unit; }
    public Integer getStock() { return stock; }
    public void setStock(Integer stock) { this.stock = stock; }
    public Integer getMin_stock() { return min_stock; }
    public void setMin_stock(Integer min_stock) { this.min_stock = min_stock; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public Integer getStock_display() { return stock_display; }
    public void setStock_display(Integer stock_display) { this.stock_display = stock_display; }
    public Integer getMin_price() { return min_price; }
    public void setMin_price(Integer min_price) { this.min_price = min_price; }
    public Integer getMin_oprice() { return min_oprice; }
    public void setMin_oprice(Integer min_oprice) { this.min_oprice = min_oprice; }
    public Date getCreate_time() { return create_time; }
    public void setCreate_time(Date create_time) { this.create_time = create_time; }
    public Date getUpdate_time() { return update_time; }
    public void setUpdate_time(Date update_time) { this.update_time = update_time; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public List<Banner> getBanners() {return banners;}
    public void setBanners(List<Banner> banners) { this.banners = banners; }
    public List<GoodsSkus> getSkus(){ return skus; }
    public void setSkus(List<GoodsSkus> skus){ this.skus = skus; }
    public List<GoodsSkusCombinations> getCombinations() { return combinations; }
    public void setCombinations(List<GoodsSkusCombinations> combinations) { this.combinations = combinations; }
}
